<div class="people {{$Cache_show_list||'focus'}}">
    <div class="chatbox {{$Cache_chat_now_list.chat&&'focus'}}">
        <div class="title">
            <img bind-src="{{$Cache_chat_now.logo||'/images/userhead.jpg'}}">与 {{$Cache_chat_now.name}} 聊天中
        </div>
        <div class="msgbox">
            {{#each $Cache_chat_now_list.chat}}
            <div bind-class="item {{chatid==$Top.loginer.sid&&'focus'}}">
                <div class="inbox">
                    <div class="msg">
                        {{#if chattype==2}}
                        <img bind-src="{{src}}" />{{#else}} {{chat}} {{/if}}
                    </div>
                    <div class="time"><b>{{time}}</b>
                    </div>
                </div>
            </div>
            {{/each}}
        </div>
        <div class="rebox">
            <input type="text" bind-input="{{'$Cache_send_chat_msg'}}" bind-value="{{$Cache_send_chat_msg}}" placeholder="请输入内容" event-enter="{{'$Event.send_chat_msg'}}" />
            <div class="icon-baocun" event-click="{{'$Event.send_chat_img_click'}}" title="发送图片"></div>
            <button event-click="{{'$Event.send_chat_msg'}}">发送</button>
            <input id="send_chat_img" type="file" style="display:none" event-change="{{'$Event.send_chat_img'}}" />
        </div>
    </div>
</div>
<div class="icon-fenlei  {{$Cache_show_list||'focus'}}" event-click="{{'$Event.show_friend_list'}}"></div>

<div class="friendlist {{$Cache_show_list||'focus'}}">
    <div class="title">好友列表</div>
    <div class="list">
        <div class="titleblock"></div>
        {{#if $Cache_friends_list}} {{#each $Cache_friends_list}}
        <div class="item" id="{{chatid}}" event-click="{{'$Top.$Event.change_chat'}}" event-click-new="{{'$Top.$Event.show_friend_list'}}">
            <img bind-src="{{logo||'/images/userhead.jpg'}}">
            <span>{{nickname}}</span>
        </div>
        {{/each}} {{#else}}
        <p></p>
        {{/if}}
    </div>
</div>
<div class="typeblock {{$Cache_show_list||'focus'}}" event-click="{{'$Event.show_friend_list'}}"></div>
